package com.HRs.Service;

import com.HRs.Dao.aDDao;
import com.HRs.Dao.aDDaolmpl;
import com.HRs.domain.Department;

import java.util.ArrayList;

public class aDServicelmpl implements aDService{
    aDDao aD = new aDDaolmpl();

    @Override
    public boolean Login_aD(String Id, String Password) {
        return aD.Login_aD(Id, Password);
    }

    @Override
    public void deleteDp_row(int row) {
        aD.deleteDp_row(row);
    }

    @Override
    public void insertDp(Department dp) {
        aD.insertDp(dp);
    }

    @Override
    public ArrayList<Department> get_Dp() {
        return aD.get_Dp();
    }

    @Override
    public ArrayList<String> get_DpName() {
        return aD.get_DpName();
    }
}
